#include <stdio.h>
    #include <unistd.h>

    int main()
    {
        printf("before:my pid is %d\n", getpid() );
        fork();
        fork();
        printf("aftre:my pid is %d\n", getpid() );

        return 0;
    }